package com.ysd.lis.entity.iqc;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ysd.lis.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.sql.Timestamp;

/**
 * <p>
 * cold_chain.t_user
 * </p>
 *
 * @author peng
 * @since 2021-10-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class QcMaterialItemResultGdb extends BaseEntity{

    private static final long serialVersionUID = 1L;
    @TableField("INSTR_CODE")
    private String instrCode;

    @TableField("BatchNumber")
    private String batchNumber;
    @TableField("HORIZONTAL")
    private String horizontal;
    @TableField("ITEM_NO")
    private String itemNo;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone="GMT+8")
    @TableField("QCDate")
    private Timestamp qcDate;
    @TableField("QCSequence")
    private Integer qcSequence;

    @TableField("NumResult")
    private Double numResult;
    @TableField("Result")
    private String result;
    @TableField("Mean")
    private Double mean;
    @TableField("SD")
    private Double sd;
    @TableField("Z")
    private Double z;
    @TableField("IsAlarm")
    private Boolean isAlarm;
    @TableField("AlarmRules")
    private String alarmRules;
    @TableField("IsOutControl")
    private Boolean isOutControl;

    @TableField("OutControlRules")
    private String outControlRules;
    @TableField("IsOutControlHandled")
    private Boolean isOutControlHandled;
    @TableField("IsBestInDay")
    private Boolean isBestInDay;

    @TableField("IS_SYNC")
    private Boolean isSync;

    @TableField("NO_SYNC")
    private String noSync;

}
